package com.homelock.entity;

import java.util.Date;

public class HlOpenDoorRecord {
    private Long id;

    private Long devId;

    private Long sourceId;

    private Long communityId;

    private Integer triggerId;

    private String triggerUserId;

    private Long triggerSourceId;

    private Long triggerUnlockId;

    private String triggerName;

    private Integer triggerType;

    private Byte recordType;

    private Long version;

    private Date createDate;

    private Date updateDate;

    private Boolean state;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDevId() {
        return devId;
    }

    public void setDevId(Long devId) {
        this.devId = devId;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public Integer getTriggerId() {
        return triggerId;
    }

    public void setTriggerId(Integer triggerId) {
        this.triggerId = triggerId;
    }

    public String getTriggerUserId() {
        return triggerUserId;
    }

    public void setTriggerUserId(String triggerUserId) {
        this.triggerUserId = triggerUserId == null ? null : triggerUserId.trim();
    }

    public Long getTriggerSourceId() {
        return triggerSourceId;
    }

    public void setTriggerSourceId(Long triggerSourceId) {
        this.triggerSourceId = triggerSourceId;
    }

    public Long getTriggerUnlockId() {
        return triggerUnlockId;
    }

    public void setTriggerUnlockId(Long triggerUnlockId) {
        this.triggerUnlockId = triggerUnlockId;
    }

    public String getTriggerName() {
        return triggerName;
    }

    public void setTriggerName(String triggerName) {
        this.triggerName = triggerName == null ? null : triggerName.trim();
    }

    public Integer getTriggerType() {
        return triggerType;
    }

    public void setTriggerType(Integer triggerType) {
        this.triggerType = triggerType;
    }

    public Byte getRecordType() {
        return recordType;
    }

    public void setRecordType(Byte recordType) {
        this.recordType = recordType;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }
}